package com.neuedu.corejava.ch3.practise;

public class Demo9 {

	public static void main(String[] args) {
		int x = 6;
		switch (x) {
		default:
			System.out.println("ok");break;
		case 1:
			System.out.println("1");break;
		case 2:
			System.out.println("2");break;
		case 3:
			System.out.println("3");break;
		}//ok-1-2-3
	}

}
